﻿@model ShivamEMR.Model.Domain.PatientDomain.AdmissionType

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h1>Edit Admission Type</h1>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
<div class='metro-pivot'>
<div class='pivot-item'>
    @* <h3>Section 1</h3> *@
        <table width="100%" cellpadding="4" cellspacing="4">
		<tr>

        <td>
        @Html.HiddenFor(model => model.ID)
        <div class="editor-label">
    @Html.LabelFor(model => model.Type)
</div></td><td>
<div class="editor-field">
    @Html.EditorFor(model => model.Type)
    @Html.ValidationMessageFor(model => model.Type)
</div></td>
</tr> <tr><td>
<div class="editor-label">
    @Html.LabelFor(model => model.Description)
</div></td><td>
<div class="editor-field">
    @Html.EditorFor(model => model.Description)
    @Html.ValidationMessageFor(model => model.Description)
</div></td>
</tr>

<tr><td>

<div class="editor-label">
    @Html.LabelFor(model => model.Notes)
</div></td><td>
<div class="editor-field">
    @Html.EditorFor(model => model.Notes)
    @Html.ValidationMessageFor(model => model.Notes)
</div>
</td>

        </tr>
        </table>
</div>
        <p>
            <input type="submit" value="Save" />
        </p>
    </div>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
<script>
$(function () {
    $("div.metro-pivot").metroPivot();
});
</script>
